<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  	<head>
    	<base href="<%=basePath%>">
    	<title></title>
    	<meta charset="UTF-8">
		<title>个人信息</title>
		<link rel="stylesheet" type="text/css" charset="UTF-8" href="css/public.css" />
		<link rel="stylesheet" type="text/css" charset="UTF-8" href="css/personInfo.css" />
 	</head>
 	<%
 		String id=new String(request.getParameter("id").getBytes("ISO-8859-1"),"UTF-8");
 		String password=new String(request.getParameter("password").getBytes("ISO-8859-1"),"UTF-8");
 		String name=new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8");
 		String className=new String(request.getParameter("className").getBytes("ISO-8859-1"),"UTF-8");
 	%>
	<body>
		<div id="head" class="gradient clear">
			<div class="fl" id="log">
				<a id="logo" href="index.jsp"></a>
			</div>
			<div class="head_message fr" id="head_message">
				<span>欢迎您： <a href="login.jsp"><%=name%></a> 同学</span>
			</div>
		</div>
		<div id="body">
			<h1>个人信息</h1>
			<form id="studentInfo" name="studentInfo" style="padding: 25px 0;" action="${pageContext.request.contextPath}/InfoServlet" method="post">
				<div class="info_clear clear">
		            <label class="label-name" for="student_name" >姓　　名：</label>
		            <div class="info_left">
		                <input class="ipt content" name="student_name" id="student_name" readOnly="readOnly"  value="<%=name%>"/>
		            </div>
				</div>
				<div class="info_clear clear">
		            <label class="label-name" for="student_id" >学　　号：</label>
		            <div class="info_left">
		                 <input class="ipt content" name="student_id" id="student_id" readOnly="readOnly"  value="<%=id%>"/>
		            </div>
				</div>
				<div class="info_clear clear">
		            <label class="label-name" for="student_className" >专业班级：</label>
		            <div class="info_left">
		                 <input class="ipt content" name="student_className" id="student_className" readOnly="readOnly"  value="<%=className%>"/>
		            </div>
				</div>
		        <div class="info_clear clear">
		            <label class="label-name" >性　　别：</label>
		            <div class="info_left">
		                <label ><input type="radio" value="男" style="width: 30px; margin: 0 10px;" name="student_sex">男</label>
		                <label ><input type="radio" value="女" style="width: 30px; margin: 0 10px;" name="student_sex">女</label>
		            </div>
		        </div>
		        <div class="info_clear clear">
		            <label class="label-name" >血　　型：</label>
		            <div class="info_left">
		                <label ><input type="radio" value="A型" style="width: 30px; margin: 0 10px;" name="student_blood">A型</label>
		                <label ><input type="radio" value="B型" style="width: 30px; margin: 0 10px;" name="student_blood">B型</label>
		                <label ><input type="radio" value="AB型" style="width: 30px; margin: 0 10px;" name="student_blood">AB型</label>
		                <label ><input type="radio" value="O型" style="width: 30px; margin: 0 10px;" name="student_blood">O型</label>
		                <label ><input type="radio" value="其他" style="width: 30px; margin: 0 10px;" name="student_blood">其他</label>
		            </div>
		        </div>
				<div class="info_clear clear">
		            <label class="label-name" for="student_address" >籍　　贯：</label>
		            <div class="info_left">
		                <input class="ipt content" name="student_address" id="student_address"  />
		            </div>
				</div>
				<div class="info_clear clear">
		            <label class="label-name" for="student_hobby" >兴趣爱好：</label>
		            <div class="info_left">
		                <input class="ipt content" name="student_hobby" id="student_hobby"  />
		            </div>
				</div>
				<div class="info_clear clear none">
		            <label class="label-name" for="student_password" >密　　码：</label>
		            <div class="info_left">
		                <input class="ipt content" type="password" name="student_password" id="student_password" value="<%=password%>">
		            </div>
				</div>
				<div class="info_clear clear">
		            <label class="label-name" for="student_password1" >修改密码：</label>
		            <div class="info_left">
		                <input class="ipt content" type="password" name="student_password1" id="student_password1" >
		            </div>
				</div>
				<div class="info_clear clear">
		            <label class="label-name" for="student_password2" >重复密码：</label>
		            <div class="info_left">
		                <input class="ipt content" type="password" name="student_password2" id="student_password2" >
		            </div>
				</div>
				<div class="info_clear clear" style="width: 300px;">
					<input type="submit" class="btn" id="enter" value="保存信息" style="margin: 0;height: 40px;"/>
				</div>
			</form>
		</div>
	</body>
</html>
